package core;

/**
 * Created by sergey on 16.06.2014.
 */
public class DecisionPerformer {
    Zodiac zodiac;
    DecisionPerformer(String sign){
        String zsign = sign;
    }

    public void performDecision(String zsign){
        if (zsign == "Aries"){
            HoroskopPrinter firstsign = new HoroskopPrinter(Zodiac.ARIES);
            firstsign.printHoroskop();
        }
        if (zsign == "Taurus"){
            HoroskopPrinter firstsign = new HoroskopPrinter(Zodiac.TAURUS);
            firstsign.printHoroskop();
        }
        if (zsign == "Gemini"){
            HoroskopPrinter firstsign = new HoroskopPrinter(Zodiac.GEMINI);
            firstsign.printHoroskop();
        }
        if (zsign == "Cancer"){
            HoroskopPrinter firstsign = new HoroskopPrinter(Zodiac.CANCER);
            firstsign.printHoroskop();
        }
        if (zsign == "Leo"){
            HoroskopPrinter firstsign = new HoroskopPrinter(Zodiac.LEO);
            firstsign.printHoroskop();
        }
        if (zsign == "Virgo"){
            HoroskopPrinter firstsign = new HoroskopPrinter(Zodiac.VIRGO);
            firstsign.printHoroskop();
        }
        if (zsign == "Libro"){
            HoroskopPrinter firstsign = new HoroskopPrinter(Zodiac.LIBRO);
            firstsign.printHoroskop();
        }
        if (zsign == "Scorpio"){
            HoroskopPrinter firstsign = new HoroskopPrinter(Zodiac.SCORPIO);
            firstsign.printHoroskop();
        }
        if (zsign == "Sagittarius"){
            HoroskopPrinter firstsign = new HoroskopPrinter(Zodiac.SAGITTARIUS);
            firstsign.printHoroskop();
        }
        if (zsign == "Capricorn"){
            HoroskopPrinter firstsign = new HoroskopPrinter(Zodiac.CAPRICORN);
            firstsign.printHoroskop();
        }
        if (zsign == "Aquarius"){
            HoroskopPrinter firstsign = new HoroskopPrinter(Zodiac.AQUARIUS);
            firstsign.printHoroskop();
        }
        if (zsign == "Pisces"){
            HoroskopPrinter firstsign = new HoroskopPrinter(Zodiac.PISCES);
            firstsign.printHoroskop();
        }

    }
}
